/*
 * Copyright 2008-2009 Daniel Freitas
 *
 * This file is part of Army Creator.
 * 
 * Army Creator is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Army Creator is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Army Creator.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.googlecode.armycreator.datastore.genericdao;

/**
 * Generic {@link RuntimeException} for data persistence errors.
 * 
 * @author <a href="mailto:daniel.mfreitas@gmail.com">Daniel Freitas</a>
 */
public class DataPersistenceException extends RuntimeException {

    /**
     * @see RuntimeException#RuntimeException()
     */
    public DataPersistenceException() {
        super();
    }

    /**
     * @see RuntimeException#RuntimeException(String, Throwable)
     */
    public DataPersistenceException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * @see RuntimeException#RuntimeException(String)
     */
    public DataPersistenceException(String message) {
        super(message);
    }

    /**
     * @see RuntimeException#RuntimeException(Throwable)
     */
    public DataPersistenceException(Throwable cause) {
        super(cause);
    }

    private static final long serialVersionUID = 5942665099051127109L;
}
